#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main() {
    double a, b, c;
    int no;
    scanf("%d;%lf,%lf,%lf", &no, &a, &b, &c);
    a = (int)(a * 100 + 0.5) / 100.0;
    b = (int)(b * 100 + 0.5) / 100.0;
    c = (int)(c * 100 + 0.5) / 100.0;
    printf("The each subject score of  No. %d is %.2lf, %.2f, %.2f.", no, a, b, c);
    return 0;
}